﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CheckOut
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Thanh Toán</h2>    
    <div id="Message">
        <%: ViewData["Message"] %>
    </div>
    <%using (Html.BeginForm())
      { %>
    <fieldset>
        <legend>Danh sách đơn hàng đang chờ thanh toán</legend>
        <div id="DonHangContent">
            <script type="text/javascript">
                GetContent("/Orders/WUC_MyOrder?type=3", "DonHangContent");
            </script>
        </div>
    </fieldset>
    <div style="float:right" id="Total"></div>
    <fieldset>
        <legend>Thông tin tài khoản ngân hàng</legend>
        <table>
            <tr>
                <td>Số tài khoản:</td>
                <td><input type="text" name="SoTK" value="<%: ViewData["SoTK"] %>" /></td>
            </tr>    
            <tr>
                <td>Phát hành tại:</td>
                <td id="selectBank">
                    <script type="text/javascript">
                        GetContent("/Service/SelectWSCoupon?type=bank", "selectBank");
                    </script>
                </td>
            </tr>        
        </table>        
    </fieldset>
    <input type="submit" value="Thanh Toán" />
    <%} %>
</asp:Content>
